<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<head>
<title>淘快递</title>
 </head>
<body style="overflow: hidden">
<%if @order!=nil
   ori_order=@order.order
   express =@order.express
   statuses=@order.status
%>
<%if ori_order!=nil%>
        <img with=70 height=70 src='<%=ori_order.pic_path%>'/></br>
        <%=ori_order.title%><br>
        <%
        if express!=nil
        %>
        快递:<%=express.no_code%><br>
        <%if statuses!=nil
        statuses.each do |item|
        time=item.happen_time.strftime("%Y-%m-%d %H:%M:%S")
        %>
        <%=time%> <%=item.info%><br>
        <%
        end
        end
        end
        else%>
        尊敬的用户,您没有最新的快递信息
<%        end
        %>
<%end%>
</body>
</html>
